#ifndef STUDENTDATA_H
#define STUDENTDATA_H

#include <QWidget>
class StudentData {
public:
    StudentData();
    void setStuName(const QString& stuName) { m_stuName = stuName; }
    void setStuNum(const QString& stuNum) { m_stuNum = stuNum; }
    void setStuSex(const QString& stuSex) { m_stuSex = stuSex; }
    void setStuBirthday(const QString& stuBirthday) { m_stuBirthday = stuBirthday; }
    void setStuHigh(const QString& stuHigh) { m_stuHigh = stuHigh; }
    QString getStuName() const { return m_stuName; }
    QString getStuNum() const { return m_stuNum; }
    QString getStuSex() const { return m_stuSex; }
    QString getStuBirthday() const { return m_stuBirthday; }
    QString getStuHigh() const { return m_stuHigh+"CM"; }

private:
    QString m_stuName;
    QString m_stuNum;
    QString m_stuSex;
    QString m_stuBirthday;
    QString m_stuHigh;
};

#endif // STUDENTDATA_H
